
const {override,addWebpackAlias,fixBabelImports } = require('customize-cra')
const path = require('path')


module.exports = override(
    //起别名
    addWebpackAlias({
        ["@"] :path.resolve(__dirname, 'src')
    }),

    //按需打包 同时引入css文件
    fixBabelImports({
        libraryName:'antd',
        style:'css'
    })
)